Objects Reference

renderGL::DrawView

Prototype

void DrawView()

Parameters

None

Return Value

None

Remarks

This is the OpenGL implementation for the render base class virtual function.

It is called to render the scene and does the following order of operations:
1) Calls InitView to initialize global render setting for the frame
2) Clears the zbuffer, color buffer is flyengine->clearbk is TRUE and stencil buffer if flyengine->stencil is TRUE
3) Draws the scene and all objects inside view frustum
4) Initialize text mode and draw all 2D stuff 
5) Swaps buffers to display rendered image